package com.mjk.common.ai;

import com.mjk.common.web.getway.annotation.EnableGetWay;
import com.mjk.common.web.getway.transfer.GetwayTransferType;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@EnableGetWay(basePackages = {"com.mjk"}, transferType = GetwayTransferType.HTTP)
@SpringBootApplication(scanBasePackages = {"com.mjk", "org.jeecg"}, exclude = {DataSourceAutoConfiguration.class})
@MapperScan(basePackages = "com.mjk", annotationClass = Mapper.class)
@EnableTransactionManagement
@EnableAspectJAutoProxy
@EnableWebMvc
/**
 * 启动类
 */
public class BeeAiStart extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(BeeAiStart.class, args);
    }
}
